#ifndef APITIMER_H
#define APITIMER_H

#include <QObject>

class Timer;

class apiTimer : public QObject
{
	Q_OBJECT

public:
	apiTimer(QObject *parent = 0);
	~apiTimer();

	virtual void						start();
	virtual void						stop();
	void								setTime(const unsigned int time);
	unsigned int						getTime() const;
	void								raz();

protected:
	unsigned int						_time;
	bool								_runing;
	Timer								*_timer;
};

#endif // APITIMER_H
